<%--
  Created by IntelliJ IDEA.
  User: WY2015092804
  Date: 2015/10/19
  Time: 15:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="j" uri="j/tags" %>
<%@ taglib prefix="joyi" uri="http://www.joyi.cn/tags" %>
<%@ taglib prefix="st" tagdir="/WEB-INF/tags" %>
<%@ taglib prefix="easyui" uri="http://www.joyi.cn/easyui/tags" %>
<st:dialog>
  <easyui:form formId="departmentList" formData="${result}" requestId="20151019000000000004">
  <easyui:hidden name="departmentId"></easyui:hidden>
  <table class="form_layout">
    <colgrop>
      <col style="width: 100px"/>
      <col/>
    </colgrop>
    <tr>
      <th>部门名称：</th>
      <td><easyui:textbox name="departmentName" required="true"></easyui:textbox></td>
    </tr>
    <tr>
      <th>上级部门：</th>
      <td><easyui:combotree name="parentDepartmentId" requestId="20151019000000000005"></easyui:combotree></td>
    </tr>
    <tr>
      <th>备注：</th>
      <td><easyui:textarea name="note"></easyui:textarea></td>
    </tr>
  </table>

  </easyui:form>
  <script>
    function doAfterSave(data,_dialogArguments){
      _dialogArguments.parent.reloadDepartmentTree();
    }

  </script>
</st:dialog>
